package it.dgtest.client.datasource;

import it.dgtest.shared.Comune;

import com.google.gwt.user.client.Command;
import com.oa.gform.client.ui.datamodel.GDataSourceParam;
import com.oa.gform.client.ui.datasource.GDataSourceImpl;

public class ComuniDataSource extends GDataSourceImpl<Comune> {
	
	
	@Override
	public void loadData(GDataSourceParam  param, Command callback) {
		Comune com1 = new Comune(1l);
		Comune com2 = new Comune(2l);
		data.add(com1);
		data.add(com2);
		if (callback!=null) callback.execute();
	}
	
	String prova;
}
